//
//  CategoryCellView.h
//  JiaoX
//
//  Created by 尹桥印 on 14/11/18.
//  Copyright (c) 2014年 北京娇羞科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SubCategory.h"

//定义一个协议
@protocol CategoryCellViewDelegate <NSObject>
@optional
- (void)subItemClickDelegate:(SubCategory *)sub;
@end


@interface CategoryCellView : UIView
@property(nonatomic,strong) NSArray *subcategoryList;
@property (nonatomic, weak) id<CategoryCellViewDelegate> delegate;
+(instancetype)initWithSubcategoryList:(NSArray *)array;
@end
